﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Utilities.Excel.Export.Group
{

    public class RowGroup:GroupBase
    {
        /// <summary>
        /// 行开始位置
        /// </summary>
        public int RowStartIndex { get; set; }

        /// <summary>
        /// 行结束的位置
        /// </summary>
        public int RowEndIndex { get; set; }


        #region Overrides of GroupBase
        /// <summary>
        /// 执行组合
        /// </summary>
        public override void DoGroup()
        {
            hsheet.GroupRow(RowStartIndex, RowEndIndex);
        }
        #endregion 
    }
}
